/*
 * @Author: Li Zengkun
 * @Date: 2022-09-26 19:47:57
 * @LastEditors: Li Zengkun
 * @LastEditTime: 2022-09-26 19:50:44
 * @Description: 
 */
import axios from "axios"

const create = (data) => axios.post('/order/create', data)

const settle = (data) => axios.post('/order/settle', data)

const getAll = (params) => axios.get('/seller/order/list', { params })

export default {
    create,
    settle,
    getAll
}